import request from '@/utils/request.js'

// 常量
const api_name = '/pay'

export default {
    orderPayByOrderSn(orderSn) {
        return request({
            url: `${api_name}/orderPayByOrderSn`,
            method: 'post',
            params: {
                orderSn: orderSn
            }
        })
    },
    payCheckByOrderSn(orderSn) {
        return request({
            url: `${api_name}/payCheckByOrderSn`,
            method: 'post',
            params: {
                orderSn: orderSn
            }
        })
    }
}
